/*
 * 作者: junmu
 * 时间: 2025-07-22
 */
package com.hzbc.faceattendance.service;

import com.hzbc.faceattendance.dto.ApiResponse;
import com.hzbc.faceattendance.dto.PasswordChangeRequest;
import com.hzbc.faceattendance.dto.WechatLoginRequest;
import com.hzbc.faceattendance.model.AdminUser;
import com.hzbc.faceattendance.security.JwtRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;

public interface IAuthService {
    ResponseEntity<?> createAuthenticationToken(JwtRequest authenticationRequest) throws Exception;
    ResponseEntity<?> registerUser(AdminUser adminUser);
    ResponseEntity<?> wechatLogin(WechatLoginRequest request);

     ApiResponse<?> changePassword(@RequestBody PasswordChangeRequest request);
}